<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Page Size - size property</title>
<link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
<link rel="help" href="http://www.w3.org/TR/css3-page/#page-size"/>
<meta name="flags" content="screen" />
<meta name="assert" content="The 'size' value only applies to paged media."/>
<style type="text/css">
	@page { 
		margin: 1cm;
		size: 3in 5in;
		border: 1px solid black;
	}
	html, body, div { 
   		size: 5in 5in;
	}
</style>
</head>
<body>
	<div>On screen, this content must stretch across the entire page. When printed, the content should appear in a rectangle 3 inches wide by 5 inches high. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. </div>
</body>
</html>